<?php

$sql = mysqli_connect("localhost","root","rabarip","movies");
$result = mysqli_query($sql, "SELECT * FROM `film_list`");
while($row = mysqli_fetch_array($result)){
    echo $row['name'],":";
    echo $row['desc'],":";
    echo $row['type'],":";
    echo $row['year'];
    echo "|";
}
    

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

